package cn.iocoder.yudao.module.member.convert.technician;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.member.controller.app.technician.vo.AppTechnicianRespVO;
import cn.iocoder.yudao.module.member.dal.dataobject.technician.AppTechnicianDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 技师 Convert
 *
 *
 * @author dzy
 */
@Mapper
public interface AppTechnicianConvert {

    AppTechnicianConvert INSTANCE = Mappers.getMapper(AppTechnicianConvert.class);


    PageResult<AppTechnicianRespVO> convertPage(PageResult<AppTechnicianDO> page);

    List<AppTechnicianRespVO> convertList(List<AppTechnicianDO> list);

    AppTechnicianRespVO convert(AppTechnicianDO bean);
}
